import fileTypes from './file-types.js'
import fileReader from './file-reader.js'
import {BufferReader} from './file-reader.js'
import jsonImport from './json-import.js'
import Import from './import.js'
import outputFormat from './output-format.js'
import Export from './export.js'
import fileWrite from './file-write.js'

export {
  BufferReader,
}
export default {
  isZipFile: fileTypes.isZipFile,
  guessInputFileType: fileTypes.guessInputFileType,
  couldBeDsvFile: fileTypes.couldBeDsvFile,
  isSupportedBinaryInputType: fileTypes.isSupportedBinaryInputType,
  guessInputType: fileTypes.guessInputType,

  readFirstChars: fileReader.readFirstChars,

  importJSON: jsonImport.importJSON,
  importContent: Import.importContent,
  importFileContent: Import.importFileContent,

  getOutputFormat: outputFormat.getOutputFormat,

  exportTargetLayers: Export.exportTargetLayers,

  writeFiles: fileWrite.writeFiles,
}